import Vue from 'vue'
import vuex from 'vuex'

Vue.use(vuex);

// 引入子模块
import user from './modules/user';

const store = new vuex.Store({
    modules: {
        user: user
    }
});

export default store;